package com.yike.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 商户表
 *
 * @author Sakura
 * @since 2024-10-31
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "平台店铺参数")
public class PlatformShopParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

//    @NotBlank(message = "商家编号不能为空")
//    @ApiModelProperty("商家编号")
//    private String merchantNo;

    @NotBlank(message = "店铺名称不能为空")
    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("店铺照片")
    private String shopImg;

//    @ApiModelProperty("店铺编号")
//    private String shopNo;

    @ApiModelProperty("类型ID")
    private Long typeId;

    @ApiModelProperty("logo")
    private String logoUrl;

    @ApiModelProperty("联系人")
    @NotBlank(message = "联系人不能为空")
    private String contact;

    @ApiModelProperty("联系电话")
    @NotBlank(message = "联系电话不能为空")
    private String mobile;

    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("维度")
    private BigDecimal latitude;

    @ApiModelProperty("定位地址")
    private String locationAddress;

    @ApiModelProperty("省code")
    private String provCode;

    @ApiModelProperty("省名称")
    private String provName;

    @ApiModelProperty("市code")
    private String cityCode;

    @ApiModelProperty("市名称")
    private String cityName;

    @ApiModelProperty("区code")
    private String distCode;

    @ApiModelProperty("区名称")
    private String distName;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("代理商编号")
    private String agentNo;

    @ApiModelProperty("分佣比例（1-100）")
    private BigDecimal commissionRate;

    @ApiModelProperty("法人银行卡号")
    private String bankCardNo;

    @ApiModelProperty("文件信息")
    List<ShopFileParam> files;

    @ApiModelProperty("店铺详情信息")
    private ShopDetailsParam shopDetailsParam;

}
